package com.auction.service;

import com.auction.common.dao.MyBaseService;
import com.auction.common.dao.bean.PageResult;
import com.auction.entity.Bidding;
import com.auction.utils.PageBidding;

import java.util.List;

public interface BiddingService extends MyBaseService<Bidding> {
    /**
     * 根据价格排序
     * @param pageBidding
     * @return
     */
    PageResult<Bidding> getBiddingOrderByPrice(PageBidding pageBidding);
    /**
     * 根据时间排序
     * @param pageBidding
     * @return
     */
    PageResult<Bidding> getBiddingOrderByTime(PageBidding pageBidding);

    /**
     * 根据id删除竞拍记录
     * @param id
     * @return
     */
    int deleteIsDel(int id);
}
